
<template>
  <div class="check-button" :class="{check:isChecked}">
    <img src="../../../assets/img/cart/tick.svg" alt="">
  </div>
</template>

<script>
  export default {
    name: "CheckButton",
    props:{
      isChecked:{
        type:Boolean,
        default:false,
      }
    }
  }
</script>

<style scoped>
  .check-button{
    width: 30px;
    height: 30px;
    /*background-color: #5ea732;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border: 1px solid #939393;
  }
  .check{
    background-color: #ff5777;
    border: none;
  }
</style>